package com.yunfei;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient   //向Eureka服务注册
@EnableCaching
public class AppRedisCenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(AppRedisCenterApplication.class, args);
        System.out.println("app-redis-center微服务启动成功.............端口为8768");
    }
}